import { createApp } from 'vue'
import App from '~/App.vue'
import 'virtual:svg-icons-register' //引入自定义icon插件
import '~/styles/index.scss' //引入全局样式
import 'virtual:windi.css' //引入windi.css样式
import allGloablComponent from '~/components/index' //引入全局组件
import router from '~/router/index' //引入路由
import store from '~/store/index' //引入仓库
import '~/router/permisstion' // 引入全局导航守卫
const app = createApp(App)
app.use(allGloablComponent) //注册全局自定义插件
app.use(router) //注册路由
app.use(store) //注册仓库
app.mount('#app')
